.class Lcom/xingbook/group/activity/am;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method protected constructor <init>(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/am;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    iget-object v0, p0, Lcom/xingbook/group/activity/am;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget v1, p1, Landroid/os/Message;->what:I

    sparse-switch v1, :sswitch_data_0

    :cond_1
    :goto_1
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    goto :goto_0

    :sswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/xingbook/group/a/g;

    iget v2, v1, Lcom/xingbook/group/a/g;->a:I

    if-nez v2, :cond_2

    const-string v2, "\u6682\u65e0"

    :goto_2
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->a(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget v2, v1, Lcom/xingbook/group/a/g;->b:I

    if-nez v2, :cond_3

    const-string v2, "\u6682\u65e0"

    :goto_3
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->b(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget v2, v1, Lcom/xingbook/group/a/g;->d:I

    if-lez v2, :cond_4

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->c(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Landroid/widget/TextView;

    move-result-object v2

    const v3, -0xaf8d

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->c(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Landroid/widget/TextView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    iget v4, v1, Lcom/xingbook/group/a/g;->d:I

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\u4e2a\u65b0\u56de\u590d"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_4
    iget v2, v1, Lcom/xingbook/group/a/g;->e:I

    if-nez v2, :cond_6

    const-string v1, "\u6682\u65e0"

    :goto_5
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->d(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    :cond_2
    new-instance v2, Ljava/lang/StringBuilder;

    iget v3, v1, Lcom/xingbook/group/a/g;->a:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_2

    :cond_3
    new-instance v2, Ljava/lang/StringBuilder;

    iget v3, v1, Lcom/xingbook/group/a/g;->b:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_3

    :cond_4
    iget v2, v1, Lcom/xingbook/group/a/g;->c:I

    if-nez v2, :cond_5

    const-string v2, "\u6682\u65e0"

    :goto_6
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->c(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Landroid/widget/TextView;

    move-result-object v3

    const v4, -0x666667

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->c(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_4

    :cond_5
    new-instance v2, Ljava/lang/StringBuilder;

    iget v3, v1, Lcom/xingbook/group/a/g;->c:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_6

    :cond_6
    new-instance v2, Ljava/lang/StringBuilder;

    iget v1, v1, Lcom/xingbook/group/a/g;->e:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_5

    :sswitch_1
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->e(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;)Z

    move-result v1

    if-nez v1, :cond_1

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;->a(Lcom/xingbook/group/activity/GroupMyTopicMainActivity;I)V

    goto/16 :goto_1

    :sswitch_data_0
    .sparse-switch
        0x1 -> :sswitch_1
        0xc8 -> :sswitch_0
    .end sparse-switch
.end method
